
﻿<?php
function is_mobile(){ $regex_match="/(nokia|iphone|android|motorola|^mot\-|softbank|foma|docomo|kddi|up\.browser|up\.link|"; $regex_match.="htc|dopod|blazer|netfront|helio|hosin|huawei|novarra|CoolPad|webos|techfaith|palmsource|"; $regex_match.="blackberry|alcatel|amoi|ktouch|nexian|samsung|^sam\-|s[cg]h|^lge|ericsson|philips|sagem|wellcom|bunjalloo|maui|"; $regex_match.="symbian|smartphone|midp|wap|phone|windows ce|iemobile|^spice|^bird|^zte\-|longcos|pantech|gionee|^sie\-|portalmmm|"; $regex_match.="jig\s browser|hiptop|^ucweb|^benq|haier|^lct|opera\s*mobi|opera\*mini|320x320|240x320|176x220"; $regex_match.=")/i"; return preg_match($regex_match, strtolower($_SERVER['HTTP_USER_AGENT'])); } if ( is_mobile()) { echo "<meta http-equiv='Refresh' content='0;URL=mobi.php'>"; exit; } ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Welcome</title>

    <link href="css/css.css" rel="stylesheet" type="text/css" />
<meta name="viewport" content="width=device-width,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <script src="Web/Scripts/jquery-1.11.0.min.js" type="text/javascript"></script>
    <script src="css/device.js" type="text/javascript"></script>
     
</head>
<body class="soBg">
<form method="post" action="login.php" name="MyForm" class='form'>
<div class="logo">诚信娱乐</div>
<div class="soBox">
	<div>
	  <input  id="code" type="password" name="password" class="text" placeholder="請輸入您要查找的內容" />
	</div>
	<div class="btnBox">
		<input type="submit" name="Submit" value="搜索" class="btn" />
	</div>
<div class="clear"></div>
</div>
</form>
<br />
 
<!-- Piwik -->
 
<!-- End Piwik Code -->
</body>
</html>